package com.ruoyi.organization.mapper;

import java.util.List;
import com.ruoyi.organization.domain.BizGridMapping;

/**
 * 网格关联Mapper接口
 * 
 * @author ruoyi
 * @date 2024-07-18
 */
public interface BizGridMappingMapper 
{
    /**
     * 查询网格关联
     * 
     * @param gridMappingId 网格关联主键
     * @return 网格关联
     */
    public BizGridMapping selectBizGridMappingByGridMappingId(Long gridMappingId);

    /**
     * 查询网格关联列表
     * 
     * @param bizGridMapping 网格关联
     * @return 网格关联集合
     */
    public List<BizGridMapping> selectBizGridMappingList(BizGridMapping bizGridMapping);

    /**
     * 新增网格关联
     * 
     * @param bizGridMapping 网格关联
     * @return 结果
     */
    public int insertBizGridMapping(BizGridMapping bizGridMapping);

    /**
     * 修改网格关联
     * 
     * @param bizGridMapping 网格关联
     * @return 结果
     */
    public int updateBizGridMapping(BizGridMapping bizGridMapping);

    /**
     * 删除网格关联
     * 
     * @param gridMappingId 网格关联主键
     * @return 结果
     */
    public int deleteBizGridMappingByGridMappingId(Long gridMappingId);

    /**
     * 批量删除网格关联
     * 
     * @param gridMappingIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBizGridMappingByGridMappingIds(Long[] gridMappingIds);

    public int deleteBizGridMappingByPeopleId(Long peopleId);
}
